package com.operation.dao;

import com.operation.beans.WorkOrderAllInfo;
import com.operation.entity.UserInfo;
import org.apache.catalina.User;

import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    UserInfo findUserAccount(String userName);

    UserInfo getUserInfo(UserInfo record);

    int updateByUserAccountSelective(UserInfo record);

    UserInfo findUserAccountByType(UserInfo record);

    int deleteByUserAccount(Long userAccount);

    int isExist(Long userAccount);

    List<UserInfo> isOnline();

    int updateIsOnline(UserInfo userInfo);

    UserInfo isIt(UserInfo record);

    int updateTypeByUserName(UserInfo userInfo);

    UserInfo findUserByType(Integer userType);

    UserInfo getUserTye(Long userAccount);

    List<UserInfo> getItPeople();

    int updateItUserType(UserInfo userinfo);
}